<div>
    <div id="createEvent">
        <h2>Create Event</h2>
        <?if (isset($this->error)) echo '<div>'.$this->error.'</div>';?>
        <?=$this->formCreate;?>
    </div>
</div>
<script>
    $(document).ready(function() {
        $('#startDate').datepicker({dateFormat: 'mm/dd/yy'});
        $('#startTime').timepicker({});
    });
</script>